package com.jokelandave.poc.server.dao;

import java.util.List;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.Objectify;
import com.jokelandave.poc.server.domain.Bet;
import com.jokelandave.poc.server.domain.Profile;

public class BetDao {
	
	Objectify obj;
	
	public BetDao(Objectify obj)
	{
		this.obj = obj;
	}
	
	/**
	 * Gets all bets that have been placed by the specified user,
	 * but have not yet happened
	 * @param profile 
	 * @return a list of Bets
	 */
	public List<Bet> getActiveBetsByProfile(Key<Profile> profile)
	{
		//TODO unimplemented method
		return null;
	}
	
	/**
	 * Gets all the bets that the user has ever placed
	 * @param profile
	 * @return a list of Bets
	 */
	public List<Bet> getAllBetsByProfile(Key<Profile> profile)
	{
		//TODO implement method
		return null;
	}
	
	/**
	 * Gets recent bets by the user going back the specified number of days
	 * @param profile
	 * @param numberOfDays
	 * @return a list of Bets
	 */
	public List<Bet> getRecentBetResultsByDaysAndProfile(Key<Profile> profile, int numberOfDays)
	{
		//TODO implement method
		return null;
	}
	
	/**
	 * Gets recent bets retrieving the number of bets specified
	 * @param profile
	 * @param numberOfEntries
	 * @return a list of Bets
	 */
	public List<Bet> getRecentBetResultsByEntriesAndProfile(Key<Profile> profile, int numberOfEntries)
	{
		//TODO implement method
		return null;
	}

}
